/*
 * @Description: 
 * @Author: yyh
 * @Date: 2022-03-12 17:18:50
 * @LastEditors: yyh
 * @LastEditTime: 2022-04-09 22:38:02
 */
var express = require("express");
var router = express.Router();
var asset = require("../controllers/assetsController");


//新增资产接口
router.post("/addAssetsInfo",asset.addAssetsInfo);
//修改资产接口
router.post("/updateAssetsInfo",asset.updateAssetsInfo);
//修改资产状态接口
router.post("/updateAssetsStatus",asset.updateAssetsStatus);
//删除资产接口
router.get("/deleteAssets",asset.deleteAssets);
//模糊查询、分页查询资产接口
router.get("/getAssetsInfo",asset.getAssetsInfo);
//统计资产状态的数量接口
router.get("/getAssetsStatusTotal",asset.getAssetsStatusTotal);

module.exports = router;